@echo on

set /p branch=git branch[master]:
set /p commit=git commit:

if "%branch%" == "" (set branch="master") else ()

if "%commit%" == "" (set commit = "update codes.")

echo %branch%
echo %commit%

pause